|
thermostat6 2.2.2
|
Thermostat 6 Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_THERMOSTAT6 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Thermostat 6 Click Example.
This example demonstrates the use of Thermostat 6 Click board by reading the temperature level set using an on-board potentiometer and the temperature from the NTC Thermistor 10k Cylindrical Probe (B57500M0103A005) which is connected to the input, and also displaying the relay state. If the set temperature level is lower than the temperature read from NTC, then the relay switches ON.
The demo application is composed of two sections :
Initializes the driver and logger.
Reads the temperature level set using an on-board potentiometer and the temperature from the NTC Thermistor 10k Cylindrical Probe (B57500M0103A005) connected to the input, and displays the relay state. If the set temperature level is lower than the temperature read from NTC, then the relay switches ON.
| #define MIKROBUS_POSITION_THERMOSTAT6 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |